import {request} from '@/utils'

export default {
    // getUser: () => request.get('/api/user'),
    getUser: () => ({
        data: {
            id: 1,
            name: '管理员',
            avatar: 'https://static.isme.top/images/avatar.jpg',
            email: 'Test@123.com',
            role: ['admin'],
        }
    }),
    refreshToken: () => request.post('/api/auth/refreshToken', null, {noNeedTip: true}),
}
